ASP.NET Core MVC Controls | ComponentOne
C1.Web.Mvc Namespace / FlexGridBase<T> Class / AllowDelete Property






In This Topic
    AllowDelete Property (FlexGridBase<T>)
    In This Topic
    Gets or sets a value that indicates whether the grid should delete selected rows when the user presses the Delete key.
    Syntax
    'Declaration
     
    
    Public Overridable Property AllowDelete As System.Boolean
    'Usage
     
    
    Dim instance As FlexGridBase(Of T)
    Dim value As System.Boolean
     
    instance.AllowDelete = value
     
    value = instance.AllowDelete
    public virtual System.bool AllowDelete {get; set;}
    public read-write property AllowDelete: System.Boolean; virtual; 
    public function get,set AllowDelete : System.boolean
    public: __property virtual System.bool get_AllowDelete();
    public: __property virtual void set_AllowDelete( 
       System.bool value
    );
    public:
    virtual property System.bool AllowDelete {
       System.bool get();
       void set (    System.bool value);
    }
    Remarks
    Selected rows will not be deleted if the IsReadOnly property is set to true.
    See Also